/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.autosalon.ui.automobil.state.vyrobce;

import com.autosalon.ui.automobil.Automobil;
import com.autosalon.ui.automobil.state.AutomobilStateHolder;
import com.autosalon.ui.automobil.state.IAutomobilState;

/**
 *
 * @author Hokky
 */
public class ViewVyrState_Invitor extends AutomobilStateHolder implements IAutomobilState {

   @Override
    public void initButtons(Automobil automobil) {
        automobil.getBtnPridavani().setVisible(false);
        automobil.getBtnPridavaniVyrobce().setVisible(false);
        automobil.getBtnPridavaniModelu().setVisible(false);
        automobil.getBtnPridavaniKategorie().setVisible(false);

    }

    @Override
    public void initOthersCompoments(Automobil automobil) {
    }

    @Override
    public void initForms(Automobil automobil) {
        automobil.getNewCarForm().setVisible(false);
        automobil.getNewVyrobceForm().setVisible(false);
    }

    @Override
    public void initTabs(Automobil automobil) {
        automobil.getTabulkaAut().setVisible(true);
    }
}
